﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace mrp16062010.Random
{
    class UrunAgaci
    {
        private static UrunAgaci nesne;
        private static object syncRoot = new Object();

        private UrunAgaci()
        { }
       
        public static UrunAgaci Nesne
        {
            get
            {
                if (nesne == null)
                {
                    lock (syncRoot)
                    {
                        if (nesne == null)
                            nesne = new UrunAgaci();
                    }
                }
                return nesne;
            }
        }
        /*
        public Rota.RotaParcasi Uret(int maxSeviye, int maxParca, int maxOperasyon)
        {
            return new Rota.RotaParcasi(
        }*/
    }
}
